package cn.llming.auth.mapper;

import cn.llming.auth.domain.RoleMenu;
import cn.llming.auth.domain.SystemPermission;
import cn.llming.auth.query.PermissionQuery;
import cn.llming.basic.mapper.BaseMapper;

import java.util.List;

public interface PermissionMapper extends BaseMapper<SystemPermission> {

    /**
     * 删除全部权限
     */
     void remveAllPerission();
    /**
     * 获取权限树
     */
    List<SystemPermission> getTree();

    /**
     * 获取权限树的唯一标识
     */
    List<String> getSnes();

    /**
     * 通过员工id获取员工所有权限
     */
    List<String> getEmpInfoPermissionByEmpId(Long empId);

}
